
<form-item label="商品销售价" prop="sales_price">
    <input-number :min="1" v-model.number="formValidate.sales_price" placeholder="请输入商品销售价" style="width: 280px"></input-number>
</form-item>
<form-item label="商品市场价" prop="market_price" >
    <input-number :min="1" v-model.number="formValidate.market_price" placeholder="请输入商品市场售价" style="width: 280px"></input-number>
</form-item>
<form-item label="购买类型" prop="payment_type">
    <radio-group v-model="formValidate.payment_type" button-style="solid">
        <template v-for="(items, index) in paymentTypeItems">
            <radio :label="items.value" :value="items.value" :key="items.value" border>{{items.label}}</radio>
        </template>
    </radio-group>
</form-item>
<div class="forms-inline">
    <form-item label="积分数量" prop="point_amount" v-if="formValidate.payment_type == 1 || formValidate.payment_type == 3">
        <input-number :min="1" v-model.number="formValidate.point_amount" placeholder="请输入积分数量" style="width: 280px"></input-number>
    </form-item>
    <form-item label="青年币数量" prop="youth_amount" v-if="formValidate.payment_type == 2 || formValidate.payment_type == 4">
        <input-number :min="1" v-model.number="formValidate.youth_amount" placeholder="请输入青年币数量" style="width: 280px"></input-number>
    </form-item>
    <form-item label="现金金额" prop="purchase_amount" v-if="formValidate.payment_type >= 3">
        <input-number :min="1" v-model.number="formValidate.purchase_amount" placeholder="请输入现金金额" style="width: 280px"></input-number>
    </form-item>
</div>